package sun.it.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.transaction.annotation.Transactional;
import sun.it.service.HelloService;
//// //发布要使用dubbo的注解
@Service(loadbalance = "random",interfaceClass = HelloService.class)
@Transactional
//@Service(interfaceClass = HelloService.class,protocol = "dubbo")
public class HelloServiceImpl implements HelloService{
    public String SayHello(String name) {

        return "8083 hello  " + name;
    }
}
